<template>
  <div class="layout-container">
    <Header />
    <main id="main-content" class="content">
      <div class="home-header">
      </div>
      <slot />
    </main>
    <Footer />
  </div>
</template>

<style scoped lang="scss">
.layout-container {
  min-height: 100vh;

  .search-wrapper {
    :deep(.arco-affix) {
      background-color: #fff;
    }
  }

  .search-wrapper--fixed {
    :deep(.arco-affix) {
      box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.14);
    }
  }

  .content {
    box-sizing: border-box;
    min-height: calc(100vh - 286px);
    background: $default-bg-color;

    .home-header {
      width: 100%;
      background: #ffffff;
      backdrop-filter: blur(0px);
    }
  }
}
</style>
